<?php

?>
<script type="text/javascript">
    var branches = <?php echo json_encode($branches) ;?>;
    var quantity_limits = <?php echo json_encode($quantity_limits) ;?>;
    var fee_category = [
        {id:'Fees',name:'Fees'},
        {id:'Association Fees',name:'Association Fees'},
        {id:'Statutory Fees',name:'Statutory Fees'},
        {id:'Conditional Fees',name:'Conditional Fees'},
        {id:'Others',name:'Others'}
    ];
</script>
<style>
    .update_link {
        font-size: 11px; margin-left: 15px;
    }

    #trans_reversal_modal .info {
        text-transform: uppercase;
        font-weight: bold;
    }

    .updatable {
        padding: 3px 5px;
        width: 200px;
        display: inline-block;
        margin-right: 15px;
    }

    .updatable.editing {
        border: solid #ddd 1px;
        background-color: #fff;
        border-radius: 3px;
    }
</style>

<div>
    <h4>Manage Fee Types</h4>

    <table id="flex" style="display:none;"></table>

</div>


<input type="hidden" id="table-url" value="<?php echo $this->Html->url(array('controller' => 'Staff', 'action' => 'fee_types/get')); ?>" />
<input type="hidden" id="table-editable-url" value="<?php echo $this->Html->url(array('controller' => 'Staff', 'action' => 'fee_types/save')); ?>" />
<input type="hidden" id="load_url" value="<?php echo $this->Html->url(array('controller' => 'Staff', 'action' => 'fee_types/load')); ?>" />
<input type="hidden" id="delete_url" value="<?php echo $this->Html->url(array('controller' => 'Staff', 'action' => 'fee_types/delete')); ?>" />


<?php
    echo $this->Html->script('staff/fee_types.js');
?>